//#define __DEBUG__
// by Xeno
#define THIS_FILE "fn_addsmpoints.sqf"
#include "x_setup.sqf"

if (!GVAR(IS_HC_CLIENT)) then {
	switch (side (group (_this select 1))) do {case blufor: {__INC(GVAR(sm_points_blufor))};case opfor: {__INC(GVAR(sm_points_opfor))}};
} else {
	_which = switch (side (group (_this select 1))) do {case blufor: {0};case opfor: {1};default {-1}};
	if (_which != -1) then {
		[QGVAR(sm_poi), _which] call FUNC(NetCallEventCTS);
	};
};